#include <iostream>
#include "process.hpp"

using namespace std;

namespace game
{
    Process::Process(const char * const * extensions, CreateSurfaceFunction callBack, int w, int h)
    {
        Context::Init(extensions, callBack);
        // 7. Create swap chain
        Context::GetInstance().initSwapChain(w, h);
    }

    Process::~Process()
    {
        Context::Quit();
    }
}